package org.codeart.builder;

import org.codeart.builder.product.Bike;

public class MobaBuilder extends Builder {

    @Override
    public Builder buildFrame() {
        bike.setFrame("碳纤维车架");
        System.out.println("制作车架");
        return this;
    }

    @Override
    public Builder buildSeat() {
        bike.setSeat("牛皮车座");
        System.out.println("制作车座");
        return this;
    }

    @Override
    public Bike build() {
        return bike;
    }
}
